

#ifndef __I_GUI_IMAGE_H_INCLUDED__
#define __I_GUI_IMAGE_H_INCLUDED__

#include "IGUIElement.h"
#include "ITexture.h"

namespace irr
{
    namespace gui
    {

        //! GUI element displaying an image.
        class IGUIImage : public IGUIElement
        {
        public:

            //! constructor
            IGUIImage(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle)
                : IGUIElement(EGUIET_IMAGE, environment, parent, id, rectangle) {}

            //! destructor
            ~IGUIImage() {};

            //! sets an image
            virtual void setImage(video::ITexture* image) = 0;

            //! sets if the image should use its alpha channel to draw itself
            virtual void setUseAlphaChannel(bool use) = 0;
        };


    } // end namespace gui
} // end namespace irr

#endif

